#ifndef MICRO_INSTRUCTIONS_H
#define MICRO_INSTRUCTIONS_H

#include <stdint.h>
#include <stdbool.h>

extern uint8_t R[4];
extern uint8_t MEM[8];
extern uint8_t PC;
extern bool running;

uint8_t parse_binary(const char *str);
void execute(uint8_t instr);
void run_program(uint8_t program[], size_t len);

#endif
